package com.tju.ocean_ecology_website.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 捐赠项目表(DonationProject)实体类
 *
 * @author shaolong
 * @since 2025-04-29 19:30:41
 */
public class DonationProject implements Serializable {
    private static final long serialVersionUID = 713782450061043202L;
/**
     * 捐赠项目ID
     */
    private Long id;
/**
     * 项目标题
     */
    private String title;
/**
     * 项目描述
     */
    private String description;
/**
     * 项目图片URL
     */
    private String image;
/**
     * 项目类别：0-保护, 1-研究, 2-教育, 3-救助
     */
    private Integer category;
/**
     * 组织ID
     */
    private Long organizationId;
/**
     * 目标金额
     */
    private Double targetAmount;
/**
     * 已筹金额
     */
    private Double raisedAmount;
/**
     * 开始日期
     */
    private Date startDate;
/**
     * 结束日期
     */
    private Date endDate;
/**
     * 是否紧急
     */
    private Integer isUrgent;
/**
     * 项目状态：0-进行中, 1-已完成, 2-已取消
     */
    private Integer status;
/**
     * 创建时间
     */
    private Date createTime;
/**
     * 更新时间
     */
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }

    public Double getTargetAmount() {
        return targetAmount;
    }

    public void setTargetAmount(Double targetAmount) {
        this.targetAmount = targetAmount;
    }

    public Double getRaisedAmount() {
        return raisedAmount;
    }

    public void setRaisedAmount(Double raisedAmount) {
        this.raisedAmount = raisedAmount;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getIsUrgent() {
        return isUrgent;
    }

    public void setIsUrgent(Integer isUrgent) {
        this.isUrgent = isUrgent;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

